package com.gw.yunke.domain.dto;

import java.io.Serializable;

public class ResultData<T> implements Serializable{

    public static final Integer OK = 0;
    public static final Integer ERROR = 1;

    private String message;
    private Integer code = OK;
    private T data;


    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }


    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
